package org.hum.scaffold.tools;

import java.lang.reflect.Field;

import org.hum.scaffold.tools.tmp.SubWarehouseDTO;

public class CodeSmith {
	
	public static void main(String[] args) {
		for (Field field : SubWarehouseDTO.class.getDeclaredFields()) {
			String name = field.getName().substring(0, 1).toUpperCase() + field.getName().substring(1, field.getName().length());
			System.out.println("dto.set" + name + "(item.get" + name + "());");
		}
	}
}
